package com.rgz.service.CcxService.impl;


import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.rgz.mapper.CarinsuranceidMapper;
import com.rgz.mapper.CaseDiscribeMapper;
import com.rgz.mapper.CaseoneMapper;
import com.rgz.mapper.DiscribeMapper;
import com.rgz.mapper.LossMapper;
import com.rgz.mapper.OwnCheckImgMapper;
import com.rgz.mapper.PolicyMapper;
import com.rgz.pojo.Carinsuranceid;
import com.rgz.pojo.CarinsuranceidExample;
import com.rgz.pojo.CaseDiscribe;
import com.rgz.pojo.CaseDiscribeExample;
import com.rgz.pojo.Caseone;
import com.rgz.pojo.CaseoneExample;
import com.rgz.pojo.Discribe;
import com.rgz.pojo.DiscribeExample;
import com.rgz.pojo.Loss;
import com.rgz.pojo.LossExample;
import com.rgz.pojo.OwnCheckImg;
import com.rgz.pojo.OwnCheckImgExample;
import com.rgz.pojo.Policy;
import com.rgz.pojo.PolicyExample;
import com.rgz.service.CcxService.CcxOwnCheckImgService;
@Service
public class CcxOwnCheckImgServiceImpl implements CcxOwnCheckImgService {

	@Autowired
	private OwnCheckImgMapper ownCheckImgMapper;
	@Autowired
	private CaseDiscribeMapper caseDiscribeMapper;
	@Autowired
	private LossMapper lossMapper;
	@Autowired
	private CarinsuranceidMapper carinsuranceidMapper;
	@Autowired
	private CaseoneMapper caseoneMapper;
	@Autowired
	private PolicyMapper policyMapper;
	@Autowired
	private DiscribeMapper discribeMapper;
	

	
	
	
	@Override
	public int AddOwnCheckImg(OwnCheckImg ownCheckImg) {
		// TODO Auto-generated method stub
		return ownCheckImgMapper.insert(ownCheckImg);
	}




	@Override
	public List<CaseDiscribe> selectByExample(CaseDiscribeExample example) {
		// TODO Auto-generated method stub
		return caseDiscribeMapper.selectByExample(example);
	}




	@Override
	public List<OwnCheckImg> selectByExample(OwnCheckImgExample example) {
		// TODO Auto-generated method stub
		return ownCheckImgMapper.selectByExample(example);
	}




	@Override
	public List<Loss> selectByExample(LossExample example) {
		// TODO Auto-generated method stub
		return lossMapper.selectByExample(example);
	}




	@Override
	public List<Carinsuranceid> selectByExample(CarinsuranceidExample example) {
		// TODO Auto-generated method stub
		return carinsuranceidMapper.selectByExample(example);
	}




	@Override
	public int updateStatusidByCaseno(Caseone record) {
		// TODO Auto-generated method stub
		return caseoneMapper.updateStatusidByCaseno(record);
	}




	@Override
	public List<Policy> selectByExample(PolicyExample example) {
		// TODO Auto-generated method stub
		return policyMapper.selectByExample(example);
	}




	@Override
	public List<Caseone> selectByExample(CaseoneExample example) {
		// TODO Auto-generated method stub
		return caseoneMapper.selectByExample(example);
	}




	@Override
	public List<Discribe> selectByExample(DiscribeExample example) {
		// TODO Auto-generated method stub
		return discribeMapper.selectByExample(example);
	}




	





	



}
